package com.yiren.manager.form.department;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.base.YrUserRfidCardForm;
import com.yiren.manager.form.personnel.YrAccountForm;
import com.yiren.manager.form.system.YrAccountModelConfigForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrStaffInfoForm extends GenericForm{

	private static final long serialVersionUID = -944555603927876678L;

	private String staffId;

	private Integer accountStatus;

 	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date birthday;

	private String cardId;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date contractTime;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String departmentId;

	private String departmentName;

	private String dutyId;

	private String dutyName;

	private String email;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date entryTime;

	private String firstEduBack;

 	@DateTimeFormat(pattern="yyyy-MM-dd") 
	private Date firstEduGraduateTime;

	private String firstEduMajors;

	private String firstEduSchool;

	private String jobTitle;

	private Integer managerOfSubjectRoom;

	private String maximaEduBack;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date maximaEduGraduateTime;

	private String maximaEduMajors;

	private String maximaEduSchool;

	private String name;

	private String phoneNumber;

	private String photoUrl;

	private String remark;

	private Integer status;

	private String subjectRoomId;

	private String subjectRoomName;

	private Integer typeOfDuty;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;
	
	private String imgBase64;
	
	private Integer personType;

	private String personTypeName;
	
	private String liveAddress;
	
	private YrDepartmentForm departmentForm;
	
	private YrAccountForm accountForm;
	
	private YrSubjectRoomForm subjectRoomForm;
	
	private List<YrAccountModelConfigForm> accountModelConfigForms;
	
	private List<YrUserRfidCardForm> userRfidCardForms;
	
	public List<YrUserRfidCardForm> getUserRfidCardForms() {
		return userRfidCardForms;
	}

	public void setUserRfidCardForms(List<YrUserRfidCardForm> userRfidCardForms) {
		this.userRfidCardForms = userRfidCardForms;
	}

	public List<YrAccountModelConfigForm> getAccountModelConfigForms() {
		return accountModelConfigForms;
	}

	public void setAccountModelConfigForms(List<YrAccountModelConfigForm> accountModelConfigForms) {
		this.accountModelConfigForms = accountModelConfigForms;
	}

	public YrSubjectRoomForm getSubjectRoomForm() {
		return subjectRoomForm;
	}

	public void setSubjectRoomForm(YrSubjectRoomForm subjectRoomForm) {
		this.subjectRoomForm = subjectRoomForm;
	}

	public YrDepartmentForm getDepartmentForm() {
		return departmentForm;
	}

	public void setDepartmentForm(YrDepartmentForm departmentForm) {
		this.departmentForm = departmentForm;
	}

	public YrAccountForm getAccountForm() {
		return accountForm;
	}

	public void setAccountForm(YrAccountForm accountForm) {
		this.accountForm = accountForm;
	}

	public String getLiveAddress() {
		return liveAddress;
	}

	public void setLiveAddress(String liveAddress) {
		this.liveAddress = liveAddress;
	}

	public Integer getPersonType() {
		return personType;
	}

	public void setPersonType(Integer personType) {
		this.personType = personType;
	}

	public String getPersonTypeName() {
		return personTypeName;
	}

	public void setPersonTypeName(String personTypeName) {
		this.personTypeName = personTypeName;
	}

	public String getImgBase64() {
		return imgBase64;
	}

	public void setImgBase64(String imgBase64) {
		this.imgBase64 = imgBase64;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getDutyName() {
		return dutyName;
	}

	public void setDutyName(String dutyName) {
		this.dutyName = dutyName;
	}

	public String getSubjectRoomName() {
		return subjectRoomName;
	}

	public void setSubjectRoomName(String subjectRoomName) {
		this.subjectRoomName = subjectRoomName;
	}

	public Integer getAccountStatus() {
		return accountStatus;
	}

	public void setAccountStatus(Integer accountStatus) {
		this.accountStatus = accountStatus;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getStaffId() {
		return staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	public Date getBirthday() {
		return birthday;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public Date getContractTime() {
		return contractTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setContractTime(Date contractTime) {
		this.contractTime = contractTime;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	public String getDutyId() {
		return dutyId;
	}

	public void setDutyId(String dutyId) {
		this.dutyId = dutyId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getEntryTime() {
		return entryTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setEntryTime(Date entryTime) {
		this.entryTime = entryTime;
	}

	public String getFirstEduBack() {
		return firstEduBack;
	}

	public void setFirstEduBack(String firstEduBack) {
		this.firstEduBack = firstEduBack;
	}

	public Date getFirstEduGraduateTime() {
		return firstEduGraduateTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setFirstEduGraduateTime(Date firstEduGraduateTime) {
		this.firstEduGraduateTime = firstEduGraduateTime;
	}

	public String getFirstEduMajors() {
		return firstEduMajors;
	}

	public void setFirstEduMajors(String firstEduMajors) {
		this.firstEduMajors = firstEduMajors;
	}

	public String getFirstEduSchool() {
		return firstEduSchool;
	}

	public void setFirstEduSchool(String firstEduSchool) {
		this.firstEduSchool = firstEduSchool;
	}

	public String getJobTitle() {
		return jobTitle;
	}

	public void setJobTitle(String jobTitle) {
		this.jobTitle = jobTitle;
	}

	public Integer getManagerOfSubjectRoom() {
		return managerOfSubjectRoom;
	}

	public void setManagerOfSubjectRoom(Integer managerOfSubjectRoom) {
		this.managerOfSubjectRoom = managerOfSubjectRoom;
	}

	public String getMaximaEduBack() {
		return maximaEduBack;
	}

	public void setMaximaEduBack(String maximaEduBack) {
		this.maximaEduBack = maximaEduBack;
	}

	public Date getMaximaEduGraduateTime() {
		return maximaEduGraduateTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setMaximaEduGraduateTime(Date maximaEduGraduateTime) {
		this.maximaEduGraduateTime = maximaEduGraduateTime;
	}

	public String getMaximaEduMajors() {
		return maximaEduMajors;
	}

	public void setMaximaEduMajors(String maximaEduMajors) {
		this.maximaEduMajors = maximaEduMajors;
	}

	public String getMaximaEduSchool() {
		return maximaEduSchool;
	}

	public void setMaximaEduSchool(String maximaEduSchool) {
		this.maximaEduSchool = maximaEduSchool;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public Integer getTypeOfDuty() {
		return typeOfDuty;
	}

	public void setTypeOfDuty(Integer typeOfDuty) {
		this.typeOfDuty = typeOfDuty;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
